package com.ning.google;

import java.text.DecimalFormat;
import java.text.NumberFormat;

public class SourceInfo {

	private String title;
	private String date;
	private int pv;
	private int uv;
	private int newUv;
	private double percentNewUv;
	public String getPercentNewUv() {
		NumberFormat format = new DecimalFormat("#0.00");
		return format.format(percentNewUv);
	}
	public void setPercentNewUv(double percentNewUv) {
		this.percentNewUv = percentNewUv;
	}
	
	public int getNewUv() {
		return newUv;
	}
	public void setNewUv(int newUv) {
		this.newUv = newUv;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public int getPv() {
		return pv;
	}
	public void setPv(int pv) {
		this.pv = pv;
	}
	public int getUv() {
		return uv;
	}
	public void setUv(int uv) {
		this.uv = uv;
	}
	@Override
	public String toString() {
		return "InfoTwo [title=" + title + ", date=" + date + ", pv=" + pv
				+ ", uv=" + uv + "]";
	}
}
